package com.veo.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 订单查询条件的包装类
 */
@Data
public class OrderQueryVo {
    private Integer userId;
    private Integer page;
    private Integer pageSize;
    private String orderNum;
    private String tradeStatus;
    private String orderBy;
    //分页的起始位置
    private Integer begin;
    //分页的结束位置
    private Integer end;

    @DateTimeFormat(pattern = "MM/dd/yyyy HH:mm")
    private Date startTime;
    @DateTimeFormat(pattern = "MM/dd/yyyy HH:mm")
    private Date endTime;
}
